<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <script src="dist/flatpickr.js"></script>
  <link rel="stylesheet" id=cal_style type="text/css" href="dist/flatpickr.min.css">
</head>

<body>
  <div class="example" data-desc="A basic datepicker" id="basic">
    <h3>Basics</h3>
    <p><strong>A basic datepicker</strong></p>
    <p>
      <input id="flatpickr-tryme" placeholder="Try me..">
    </p>
  </div>
  <script type="text/javascript">
    document.getElementById("flatpickr-tryme").flatpickr();
  </script>
</body>
</html>
